//==============================================================================
// Spartan Hoplite_Anim.txt
//==============================================================================

//==============================================================================
define spear
{
   SetSelector
   {
		set hotspot
		{
			version
			{
			visual attachments g dory
			}
		}
	}
}

//==============================================================================
define crest
{
   SetSelector none 
   {
      variationlogic
	set hotspot
      {
         version
         {
			Visual crestw
			replacetexture infantry g hoplite head bronze/crest new2
         }
      }
	set hotspot
      {
         version
         {
			Visual crestw
			replacetexture infantry g hoplite head bronze/crest new
         }
      }
   }
}

//==============================================================================
define Shield
{
   SetSelector
   {
	VariationLogic
      set hotspot
      {
         version
         {
         visual Greek Shield1
		ReplaceTexture Attachments G Shield Copper/infantry g spartiate shield
      	}
   }
   }
}
//==============================================================================
define Head
{
   SetSelector
   {
      set hotspot
      {
         version
         {
                Visual infantry g hoplite head standard
		replacetexture infantry g hoplite head standard/infantry g royal guard head
         }
      }
   }
}

//==============================================================================
anim Bored
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_BoredA
					connect RightHand Spear hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
					//Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
				}
			}
		}
	}
}


//==============================================================================
anim Idle
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_IdleA
					connect RightHand Spear hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
					//Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
				}
			}
		}
	}
}

//==============================================================================
anim Walk
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_walkA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag FootstepLeft 0.00 true   
               tag FootstepRight 0.50 true   
//-- end auto generated section
					connect RightHand Spear hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
					//Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
				}
			}
		}
	}
}

//==============================================================================
anim Attack
{
	SetSelector
	{
		SetSelector
		{
			set hotspot
			{
				version
				{
					Visual Infantry G Hoplite_AttackA
//-- auto generated by the bang animation tool
//-- do not hand edit these values
               tag Attack 0.49 true   
               tag GenericSound 0.40 true   
//-- end auto generated section
					connect RightHand Spear hotspot
					connect LeftForearm Shield hotspot
					Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
					//Connect FrontChest Armour hotspot
					ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
				}
			}
		}
	}
}

//==============================================================================
anim Death
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_DeathA
				connect RightHand Spear hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
				//Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
         }
      }
   }
}


//==============================================================================
anim Flail
{
   SetSelector
   {
      set hotspot
      {
         version
         {
				Visual Infantry G Hoplite_FlailA
				connect RightHand Spear hotspot
				connect LeftForearm Shield hotspot
				Connect TopOfHead Head hotspot
					Connect TopOfHead crest hotspot
				//Connect FrontChest Armour hotspot
				ReplaceTexture Infantry G Hoplite Standard/infantry g spartiate standard
         }
      }
   }
}
